package Pojo::BloodSugar;

use strict;
use warnings;

use Moose;
use Exporter qw(import);

our @EXPORT_OK = qw();


has 'id' => ( 	
		is	  => 'ro',
	  	isa	  => 'Int',
	  	default   => 1,
		writer	  => '_set_id',
	    );

has 'time' => (
		is	=> 'ro',
		isa	=> 'Str',
		default	=> '00:00:00',
		writer	=> '_set_time',
	      );

has 'date' => (
		 is	 => 'ro',
		 isa	 => 'Str',
		 default => '1970-01-01',
		 writer  => '_set_date',
	       );

has 'tag' => (
		is	=>  'ro',
		isa	=>  'Int',
		default =>  1,
		writer	=>  '_set_tag',
);

has 'value' => (
		is	=>  'ro',
		isa	=>  'Num',
		default =>  0,
		writer	=>  '_set_value',
);

has 'user_id' => (
		is	=>  'ro',
		isa	=>  'Int',
		default =>  0,
		writer	=>  '_set_user_id',
);

no Moose;

1;
